2015.02.06


In [114]:
# Standard setup block for running Python code
from __future__ import division, print_function
import os
if os.path.split(os.getcwd())[-1] == "Lab notebooks":
    os.chdir("../../")
    print("Moved to experiment root directory")
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
plt.style.use("Config/plotstyle.mplstyle")
from Modules import processing as pr, plotting as pl
%matplotlib inline

Daily checklist

  • Check tank depth and correct if necessary.
  • Home turbine axis.
  • Home tow axis.
  • Home y-axis.
  • Home z-axis.
  • Wipe any corrosion from turbine mounting frame.
  • Seed and mix tank until Vectrino SNR is approximately 12 dB.

Got to the lab about 1:30 PM.

Homed turbine axis.

Wiped corrosion from turbine mounting frame. No visible corrosion on turbine parts.

Tank depth is about 2.45 m.

Homed tow axis.

Checked outer guy wire tension. Looks good.

Homed y- and z- axes.

z-axis missed some steps on upward motion. Will grease ball screw and nut then re-home.

3:22 PM -- Greased up z-axis ball screw and nut. Binding is gone.

3:33 PM -- Going to do a shakedown run (no. 20) at 0.8 m/s $\lambda=3.4$ to see how we're doing for finding $\lambda_0$. Obtained $C_P = 0.36$

3:49 PM -- Shakedown run 21, $U_\infty=0.9$ m/s, $\lambda=3.3$, $C_P=0.37$

3:53 PM -- Shakedown run 22, $U_\infty=1.0$ m/s, $\lambda=3.3$, $C_P=0.37$ -- looks like we may have found $Re_0$.

3:57 PM -- Shakedown run 23, $U_\infty=0.3$ m/s, $\lambda=3.3$, $C_P=0.23$

4:06 PM -- Shakedown run 24, $U_\infty=0.7$ m/s, $\lambda=5.6$, $C_P=-0.04$ -- carriage oscillates a bit for the first 5 m or so. std_tow_speed = 0.015 m/s.

4:20 PM -- Shakedown run 25, $U_\infty = 0.8$, $\lambda = 3.25$, $C_P = 0.37$ -- could make tsr range from 0.25--5.5 with increments of 0.25.

4:48 PM -- Added a cup of seeding particles to tank. Did shakedown run at 0.8 m/s, 3.25 tsr. Vectrino SNR went up to about 15 dB.

4:58 PM -- Did shakedown run 27. $\lambda=5.5$, $U_\infty=0.8$. Carriage oscillates a bit at mid tank. $C_P=0.04$.

5:02 PM -- Did shakedown run 28. $\lambda=5.0$, $U_\infty=0.8$, $C_P=0.15$. std_tow_speed = 0.026. Significant carriage oscillation due to belt resonance.

7:44 PM -- Turbine zero angle bracket got caught on curved jaw coupling and got bent pretty badly. Will try to turn turbine on/off each day at zero angle to keep things repeatable.

9:37 PM -- Calling it quits for tonight. Pretty close to knowing TSR values for performance curve, but want to play around with some different options. Settling runs will be done tomorrow.

Shakedown runs to find $\lambda_0$ (at $U_\infty=0.8$)


In [115]:
runs = [27, 28] + range(32, 74)
#runs = [34, 44, 48, 49, 52] + range(57, 66) + [67, 68, 69]
cp = []
tsr = []

for n in runs:
    r = pr.Run("shakedown", n)
    cp.append(r.mean_cp)
    tsr.append(r.mean_tsr)
    
df = pd.DataFrame()
df["run"] = runs
df["tsr"] = tsr
df["cp"] = cp

print(df)

plt.figure(figsize=(10,6))
plt.plot(tsr, cp, "o")
plt.xlim((0, 5.75))
plt.ylim((0, 0.4))
plt.xlabel("$\lambda$")
plt.ylabel("$C_P$")
plt.show()


    run       tsr        cp
0    27  5.512072  0.039182
1    28  5.005034  0.147397
2    32  3.099969  0.363332
3    33  3.199763  0.369371
4    34  3.250017  0.367947
5    35  3.299927  0.372099
6    36  3.349698  0.363520
7    37  3.399965  0.357409
8    38  3.449681  0.361855
9    39  3.149937  0.372354
10   40  3.199904  0.369293
11   41  3.199778  0.369911
12   42  3.149767  0.372238
13   43  3.300005  0.365022
14   44  2.999749  0.364746
15   45  2.899874  0.347091
16   46  2.949498  0.359192
17   47  3.050025  0.365256
18   48  3.499725  0.351717
19   49  3.249844  0.368717
20   50  3.299891  0.369130
21   51  3.099923  0.367295
22   52  2.749852  0.305731
23   53  2.799881  0.323646
24   54  2.849874  0.330273
25   55  3.449858  0.356080
26   56  3.399791  0.362773
27   57  3.999676  0.299448
28   58  4.499913  0.216621
29   59  2.499736  0.232697
30   60  2.000273  0.068157
31   61  2.250025  0.148874
32   62  1.500214  0.015306
33   63  1.000192  0.007725
34   64  1.750123  0.031158
35   65  3.749784  0.341982
36   66  2.599689  0.268255
37   67  4.249822  0.256189
38   68  3.749357  0.340043
39   69  4.750217  0.178148
40   70  2.129849  0.100572
41   71  2.380237  0.184940
42   72  3.629764  0.343734
43   73  3.879843  0.312008

In [68]:
3.3*pr.R*.06*0.8/1e-6


Out[68]:
85140.0

In [90]:
pr.process_latest_run("shakedown")


Processing latest run in shakedown

Summary for shakedown run 59:
run                59.000000
mean_tow_speed      0.800036
std_tow_speed       0.004745
t1                 18.000000
t2                 33.760000
n_blade_pass       28.000000
n_revs              9.000000
mean_tsr            2.499736
mean_cp             0.232697
mean_cd             0.631594
std_tsr             0.148579
std_cp              0.179999
std_cd              0.183120
std_tsr_per_rev     0.002178
std_cp_per_rev      0.003988
std_cd_per_rev      0.003831
exp_unc_tsr         0.005327
exp_unc_cp          0.012621
exp_unc_cd          0.009408
dof_tsr             8.000581
dof_cp             15.962075
dof_cd              8.553746
t1_wake            18.000000
t2_wake            33.760000
y_R                 0.000000
z_H                 0.750000
mean_u              0.637792
mean_v             -0.025826
mean_w             -0.053352
std_u               0.106284
std_v               0.131953
std_w               0.091450
mean_upvp           0.000072
mean_upwp          -0.000473
mean_vpwp          -0.000380
k                   0.018530
dtype: float64

In [35]:
pr.process_run("shakedown", 37)


Out[35]:
run                37.000000
mean_tow_speed      0.800034
std_tow_speed       0.004298
t1                 18.000000
t2                 33.720000
n_blade_pass       38.000000
n_revs             12.000000
mean_tsr            3.399965
mean_cp             0.357409
mean_cd             0.853713
std_tsr             0.082539
std_cp              0.140573
std_cd              0.173270
std_tsr_per_rev     0.001908
std_cp_per_rev      0.006325
std_cd_per_rev      0.007257
exp_unc_tsr         0.004385
exp_unc_cp          0.018261
exp_unc_cd          0.016718
dof_tsr            11.001355
dof_cp             18.944288
dof_cd             11.212043
t1_wake            18.000000
t2_wake            33.720000
y_R                 0.000000
z_H                 0.750000
mean_u              0.630674
mean_v             -0.021233
mean_w             -0.051541
std_u               0.111812
std_v               0.131455
std_w               0.099901
mean_upvp           0.000882
mean_upwp          -0.001720
mean_vpwp           0.000355
k                   0.019875
dtype: float64

In [ ]: